package com.example.demo.jvm;

/**
 * @author liweizhi
 * @date 2020/4/1 16:31
 */
public class LauncherDirTest {
    public static void main(String[] args) {
//        printClassLoaderPath();
    }

    private static void printClassLoaderPath() {
        System.out.println("boot-------------------");
        System.out.println(System.getProperty("sun.boot.class.path").replaceAll(":", System.lineSeparator()));
        System.out.println("ext-------------------");
        System.out.println(System.getProperty("java.ext.dirs").replaceAll(":", System.lineSeparator()));
        System.out.println("classpath-------------------");
        System.out.println(System.getProperty("java.class.path").replaceAll(":", System.lineSeparator()));
    }
}
